package com.lagou.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: jie.zhao
 * @create: 2021/03/17 10:05
 */
@RestController
public class TestController {


    @RequestMapping("/test")
    public String test(){
        System.out.println("自定义成功");
        return "hello";
    }
}
